package com.ghy.mapper;

import com.ghy.entity.EbOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    List<EbOrder> findByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);
    Integer save(EbOrder ebOrder);
    int remove(int eoId);
    Integer updateByPrimaryKey(EbOrder ebOrder);
    Integer getMaxPage(Integer pageSize);
    EbOrder selectOne(Integer eoId);
    List<EbOrder> listByNamePage(@Param("from")Integer from,@Param("pageSize") Integer pageSize,@Param("eoUserName") String eoUserName);

}
